import { constantRoutes } from '@/router/index'
const state = {
    menusList: [...constantRoutes]
}

const mutations = {
    setAsyncRouter (state, paylod) {
        state.menusList = [...constantRoutes, ...paylod]
    }
}


export default {
    namespaced: true,
    state,
    mutations,
}
